package com.suarte.core.dao;

import com.suarte.core.*;
import com.suarte.core.service.PaymentStatus;

import java.util.Date;
import org.appfuse.dao.GenericDao;

import java.util.List;

/**
 * @date   Feb 27, 2011
 * @author Gcastillo
 */
public interface PaymentDao extends GenericDao<Payment, Long>  {

    public List<Payment> findByDescription(String description);
    public void store(Payment object);
    public Payment get(Long id);
    public void deleteDetails(List<InvoicePayment> args);
    public List<Payment> findPayments(Long id, String description, Date date, Company company, Contact contact, PaymentStatus status);
}